package org.example.lotterysystem.service;

import org.example.lotterysystem.controller.param.UserLoginParam;
import org.example.lotterysystem.controller.param.UserRegisterParam;
import org.example.lotterysystem.service.dto.UserDTO;
import org.example.lotterysystem.service.dto.UserLoginDTO;
import org.example.lotterysystem.service.dto.UserRegisterDTO;
import org.example.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-03-30  18:10
 */
public interface UserService {
    /**
     * 用户注册接口
     */
    UserRegisterDTO register(UserRegisterParam param);

    /**
     * 用户登陆接口
     * 手机号 + 验证码
     * 手机号/邮箱 + 密码
     */
    UserLoginDTO login(UserLoginParam param);

    /**
     * 返回列表成员信息
     */
    List<UserDTO> finUserInfo(UserIdentityEnum identityEnum);
}
